"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var rxjs_1 = require("rxjs");
var fs_1 = require("fs");
function fileExist(path) {
    return rxjs_1.Observable.create(function (obser) {
        fs_1.exists(path, function (exist) {
            obser.next(exist);
            obser.complete();
        });
    });
}
exports.fileExist = fileExist;
